package com.chenjun.core.dao.generator.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OaBillOvertimeApplicationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OaBillOvertimeApplicationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNoIsNull() {
            addCriterion("no is null");
            return (Criteria) this;
        }

        public Criteria andNoIsNotNull() {
            addCriterion("no is not null");
            return (Criteria) this;
        }

        public Criteria andNoEqualTo(String value) {
            addCriterion("no =", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotEqualTo(String value) {
            addCriterion("no <>", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoGreaterThan(String value) {
            addCriterion("no >", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoGreaterThanOrEqualTo(String value) {
            addCriterion("no >=", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoLessThan(String value) {
            addCriterion("no <", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoLessThanOrEqualTo(String value) {
            addCriterion("no <=", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoLike(String value) {
            addCriterion("no like", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotLike(String value) {
            addCriterion("no not like", value, "no");
            return (Criteria) this;
        }

        public Criteria andNoIn(List<String> values) {
            addCriterion("no in", values, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotIn(List<String> values) {
            addCriterion("no not in", values, "no");
            return (Criteria) this;
        }

        public Criteria andNoBetween(String value1, String value2) {
            addCriterion("no between", value1, value2, "no");
            return (Criteria) this;
        }

        public Criteria andNoNotBetween(String value1, String value2) {
            addCriterion("no not between", value1, value2, "no");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBillDateIsNull() {
            addCriterion("bill_date is null");
            return (Criteria) this;
        }

        public Criteria andBillDateIsNotNull() {
            addCriterion("bill_date is not null");
            return (Criteria) this;
        }

        public Criteria andBillDateEqualTo(Date value) {
            addCriterion("bill_date =", value, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateNotEqualTo(Date value) {
            addCriterion("bill_date <>", value, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateGreaterThan(Date value) {
            addCriterion("bill_date >", value, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateGreaterThanOrEqualTo(Date value) {
            addCriterion("bill_date >=", value, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateLessThan(Date value) {
            addCriterion("bill_date <", value, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateLessThanOrEqualTo(Date value) {
            addCriterion("bill_date <=", value, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateIn(List<Date> values) {
            addCriterion("bill_date in", values, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateNotIn(List<Date> values) {
            addCriterion("bill_date not in", values, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateBetween(Date value1, Date value2) {
            addCriterion("bill_date between", value1, value2, "billDate");
            return (Criteria) this;
        }

        public Criteria andBillDateNotBetween(Date value1, Date value2) {
            addCriterion("bill_date not between", value1, value2, "billDate");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("note is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("note is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("note =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("note <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("note >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("note >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("note <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("note <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("note like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("note not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("note in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("note not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("note between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("note not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(Integer value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(Integer value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(Integer value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(Integer value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(Integer value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(Integer value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<Integer> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<Integer> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(Integer value1, Integer value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(Integer value1, Integer value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andMonthIsNull() {
            addCriterion("month is null");
            return (Criteria) this;
        }

        public Criteria andMonthIsNotNull() {
            addCriterion("month is not null");
            return (Criteria) this;
        }

        public Criteria andMonthEqualTo(Integer value) {
            addCriterion("month =", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotEqualTo(Integer value) {
            addCriterion("month <>", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThan(Integer value) {
            addCriterion("month >", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthGreaterThanOrEqualTo(Integer value) {
            addCriterion("month >=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThan(Integer value) {
            addCriterion("month <", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthLessThanOrEqualTo(Integer value) {
            addCriterion("month <=", value, "month");
            return (Criteria) this;
        }

        public Criteria andMonthIn(List<Integer> values) {
            addCriterion("month in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotIn(List<Integer> values) {
            addCriterion("month not in", values, "month");
            return (Criteria) this;
        }

        public Criteria andMonthBetween(Integer value1, Integer value2) {
            addCriterion("month between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andMonthNotBetween(Integer value1, Integer value2) {
            addCriterion("month not between", value1, value2, "month");
            return (Criteria) this;
        }

        public Criteria andEmplIdIsNull() {
            addCriterion("empl_id is null");
            return (Criteria) this;
        }

        public Criteria andEmplIdIsNotNull() {
            addCriterion("empl_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmplIdEqualTo(String value) {
            addCriterion("empl_id =", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdNotEqualTo(String value) {
            addCriterion("empl_id <>", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdGreaterThan(String value) {
            addCriterion("empl_id >", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdGreaterThanOrEqualTo(String value) {
            addCriterion("empl_id >=", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdLessThan(String value) {
            addCriterion("empl_id <", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdLessThanOrEqualTo(String value) {
            addCriterion("empl_id <=", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdLike(String value) {
            addCriterion("empl_id like", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdNotLike(String value) {
            addCriterion("empl_id not like", value, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdIn(List<String> values) {
            addCriterion("empl_id in", values, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdNotIn(List<String> values) {
            addCriterion("empl_id not in", values, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdBetween(String value1, String value2) {
            addCriterion("empl_id between", value1, value2, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplIdNotBetween(String value1, String value2) {
            addCriterion("empl_id not between", value1, value2, "emplId");
            return (Criteria) this;
        }

        public Criteria andEmplCodeIsNull() {
            addCriterion("empl_code is null");
            return (Criteria) this;
        }

        public Criteria andEmplCodeIsNotNull() {
            addCriterion("empl_code is not null");
            return (Criteria) this;
        }

        public Criteria andEmplCodeEqualTo(String value) {
            addCriterion("empl_code =", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeNotEqualTo(String value) {
            addCriterion("empl_code <>", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeGreaterThan(String value) {
            addCriterion("empl_code >", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeGreaterThanOrEqualTo(String value) {
            addCriterion("empl_code >=", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeLessThan(String value) {
            addCriterion("empl_code <", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeLessThanOrEqualTo(String value) {
            addCriterion("empl_code <=", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeLike(String value) {
            addCriterion("empl_code like", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeNotLike(String value) {
            addCriterion("empl_code not like", value, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeIn(List<String> values) {
            addCriterion("empl_code in", values, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeNotIn(List<String> values) {
            addCriterion("empl_code not in", values, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeBetween(String value1, String value2) {
            addCriterion("empl_code between", value1, value2, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplCodeNotBetween(String value1, String value2) {
            addCriterion("empl_code not between", value1, value2, "emplCode");
            return (Criteria) this;
        }

        public Criteria andEmplNameIsNull() {
            addCriterion("empl_name is null");
            return (Criteria) this;
        }

        public Criteria andEmplNameIsNotNull() {
            addCriterion("empl_name is not null");
            return (Criteria) this;
        }

        public Criteria andEmplNameEqualTo(String value) {
            addCriterion("empl_name =", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameNotEqualTo(String value) {
            addCriterion("empl_name <>", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameGreaterThan(String value) {
            addCriterion("empl_name >", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameGreaterThanOrEqualTo(String value) {
            addCriterion("empl_name >=", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameLessThan(String value) {
            addCriterion("empl_name <", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameLessThanOrEqualTo(String value) {
            addCriterion("empl_name <=", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameLike(String value) {
            addCriterion("empl_name like", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameNotLike(String value) {
            addCriterion("empl_name not like", value, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameIn(List<String> values) {
            addCriterion("empl_name in", values, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameNotIn(List<String> values) {
            addCriterion("empl_name not in", values, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameBetween(String value1, String value2) {
            addCriterion("empl_name between", value1, value2, "emplName");
            return (Criteria) this;
        }

        public Criteria andEmplNameNotBetween(String value1, String value2) {
            addCriterion("empl_name not between", value1, value2, "emplName");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeIsNull() {
            addCriterion("on_duty_time is null");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeIsNotNull() {
            addCriterion("on_duty_time is not null");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeEqualTo(Date value) {
            addCriterion("on_duty_time =", value, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeNotEqualTo(Date value) {
            addCriterion("on_duty_time <>", value, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeGreaterThan(Date value) {
            addCriterion("on_duty_time >", value, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("on_duty_time >=", value, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeLessThan(Date value) {
            addCriterion("on_duty_time <", value, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeLessThanOrEqualTo(Date value) {
            addCriterion("on_duty_time <=", value, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeIn(List<Date> values) {
            addCriterion("on_duty_time in", values, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeNotIn(List<Date> values) {
            addCriterion("on_duty_time not in", values, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeBetween(Date value1, Date value2) {
            addCriterion("on_duty_time between", value1, value2, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOnDutyTimeNotBetween(Date value1, Date value2) {
            addCriterion("on_duty_time not between", value1, value2, "onDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeIsNull() {
            addCriterion("off_duty_time is null");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeIsNotNull() {
            addCriterion("off_duty_time is not null");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeEqualTo(Date value) {
            addCriterion("off_duty_time =", value, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeNotEqualTo(Date value) {
            addCriterion("off_duty_time <>", value, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeGreaterThan(Date value) {
            addCriterion("off_duty_time >", value, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("off_duty_time >=", value, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeLessThan(Date value) {
            addCriterion("off_duty_time <", value, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeLessThanOrEqualTo(Date value) {
            addCriterion("off_duty_time <=", value, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeIn(List<Date> values) {
            addCriterion("off_duty_time in", values, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeNotIn(List<Date> values) {
            addCriterion("off_duty_time not in", values, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeBetween(Date value1, Date value2) {
            addCriterion("off_duty_time between", value1, value2, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andOffDutyTimeNotBetween(Date value1, Date value2) {
            addCriterion("off_duty_time not between", value1, value2, "offDutyTime");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysIsNull() {
            addCriterion("is_holidays is null");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysIsNotNull() {
            addCriterion("is_holidays is not null");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysEqualTo(Integer value) {
            addCriterion("is_holidays =", value, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysNotEqualTo(Integer value) {
            addCriterion("is_holidays <>", value, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysGreaterThan(Integer value) {
            addCriterion("is_holidays >", value, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_holidays >=", value, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysLessThan(Integer value) {
            addCriterion("is_holidays <", value, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysLessThanOrEqualTo(Integer value) {
            addCriterion("is_holidays <=", value, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysIn(List<Integer> values) {
            addCriterion("is_holidays in", values, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysNotIn(List<Integer> values) {
            addCriterion("is_holidays not in", values, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysBetween(Integer value1, Integer value2) {
            addCriterion("is_holidays between", value1, value2, "isHolidays");
            return (Criteria) this;
        }

        public Criteria andIsHolidaysNotBetween(Integer value1, Integer value2) {
            addCriterion("is_holidays not between", value1, value2, "isHolidays");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}